package com.rpay.common.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * Title：
 * Description
 *
 * @author fxg06 on 2018/5/22
 * @version 1.0
 */
public class PageBean<E> {
    /**
     * 总记录数
     */
    private Integer count = 0;

    /**
     * 总页数
     */
    private Integer totalPage = 0;

    /**
     * 记录
     */
    private List<E> list = new ArrayList();

    /**
     * 每页显示条数
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageIndex;

    public PageBean(Integer pageIndex, Integer pageSize) {
        this.pageIndex = pageIndex;
        this.pageSize = pageSize;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<E> getList() {
        return list;
    }

    public void setList(List<E> list) {
        this.list = list;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }
}
